package org.example.enums;

public enum FlowNodeType {
    START(1,"开始事件"),
    PGWS(2,"平行网关开始节点"),
    PGWE(2,"平行网关结束节点"),
    EGW(4,"排他网关"),
    END(5,"结束事件"),

    RECEIVE(6,"接收任务"),
    UTASK(7,"用户任务"),
    ;

    int code;

    String desc;

    FlowNodeType(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
